#!/bin/bash

sqlite3 $1 "CREATE TABLE config (period REAL, gain REAL, rxfreq REAL, samplerate REAL, cross_a REAL DEFAULT 0.0, cross_b REAL DEFAULT 0.0, auto1_a REAL DEFAULT 0.0, auto1_b REAL DEFAULT 0.0, auto2_a REAL DEFAULT 0.0, auto2_b REAL DEFAULT 0.0);"
sqlite3 $1 "CREATE TABLE data (date REAL, cross REAL, auto1 REAL, auto2 REAL, config_id INTEGER);"
